package com.guigu.order.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @ClassName:OrderCargoVO
 * @Description://TODO
 * @Author:taoLong
 * @Date:2021/11/13:15:28 星期六
 * @email:2391611102@qq.com or 2391611102qq@gmail.com
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("订单重量视图对象")
public class OrderCargoVO implements Serializable {


    private static final long serialVersionUID = 6559024723171614013L;
    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "订单id")
    private String orderId;

    @ApiModelProperty(value = "运单id")
    private String tranOrderId;

    @ApiModelProperty(value = "货物类型id")
    private String goodsTypeId;

    @ApiModelProperty(value = "货物名称")
    private String name;

    @ApiModelProperty(value = "货物单位")
    private String unit;

    @ApiModelProperty(value = "货品货值")
    private BigDecimal cargoValue;

    @ApiModelProperty(value = "货品条码")
    private String cargoBarcode;

    @ApiModelProperty(value = "货品数量")
    private Integer quantity;

    @ApiModelProperty(value = "货品体积")
    private BigDecimal volume;

    @ApiModelProperty(value = "货品重量")
    private BigDecimal weight;

    @ApiModelProperty(value = "货品备注")
    private String remark;

    @ApiModelProperty(value = "货品总体积")
    private BigDecimal totalVolume;

    @ApiModelProperty(value = "货品总重量")
    private BigDecimal totalWeight;

}
